/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.plotnikov.pricemaker.patterns.observer;

import javax.swing.JPanel;
import org.plotnikov.pricemaker.error.InitException;
import org.plotnikov.pricemaker.utils.ComboIDs;

/**
 *
 * @author alexey
 */
public interface PriceListInterface {

    public void refreshLayer(DrawObject refreshobj);
    
    public void rebuildLayer();

    public JPanel getPanel();

    public void addRefreshObjectToHash(DrawObject refreshobj);

    public int getImageWidth();

    public int getImageHeight();

    public DrawObject getDrawObjFromHash(String key);

    public void buildView(String s) throws InitException;

    public void setNumPanel(int num);

    public void setComboIDs(ComboIDs c);

    public ComboIDs getComboIDs();

}
